package com.bosssoft.ct.springcloud.service;

import com.bosssoft.ct.springcloud.pojo.dto.UserDTO;
import com.bosssoft.ct.springcloud.pojo.query.UserQuery;
import com.bosssoft.ct.springcloud.pojo.vo.UserVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * T extends BaseDTO,V extends BaseVO, Q extends BaseQuery,K <br/>
 * T:UserDTO-用户数据传输, V:UserVO-用户视图数据, Q:UserQuery-用户查询数剧, K:Long-用户主键类型
 * @author ChenTong
 * @version 1.0
 * @description 用户接口
 * @date 2020/6/21 20:20
 * @modified
 **/
@Transactional
public interface UserService extends CurdService<UserDTO, UserVO , UserQuery,Long>{

    /**
     * 用户登录业务接口
     * @author ChenTong
     * @param dto UserDTO,用户数据传输对象
     * @return boolean
     * @date 2020/6/22 7:14
     */
    UserVO login(UserDTO dto);
}
